package dongshi.daddy.service.providerandconsumerconfiguration;

import com.alibaba.dubbo.config.annotation.Service;

@Service(timeout = 5000) // 注意这是dubbo提供的注解，不是spring的，配置dubbo的服务提供方
public class ProviderAndConsumerOnlyOneServiceImpl implements ProviderAndConsumerOnlyOneService {
    @Override
    public String sayHi(String word) {
        return "provider and consumer only one, say hi: " + word;
    }
}
